home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODFDev / ViewTester / Sources / Frame.h < prev    next >
Encoding:
Text File  |  1996-09-17  |  1.4 KB  |  54 lines  |  [TEXT/MPS ]

  1. //========================================================================================
  2. //
  3. //    File:                Frame.h
  4. //    Release Version:    $ ODF 2 $
  5. //
  6. //    Copyright:    (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  7. //
  8. //========================================================================================
  9.  
  10. #ifndef FRAME_H
  11. #define FRAME_H
  12.  
  13. // ----- Framework Includes -----
  14.  
  15. #ifndef FWFRAME_H
  16. #include "FWFrame.h"
  17. #endif
  18.  
  19. //========================================================================================
  20. // Forward Class Desclarations
  21. //========================================================================================
  22.  
  23. class FW_CPresentation;
  24. class FW_CPart;
  25. class FW_CIdler;
  26.  
  27. //========================================================================================
  28. // CLASS CViewTesterFrame
  29. //========================================================================================
  30.  
  31. class CViewTesterFrame : public FW_CFrame
  32. {
  33. public:
  34.     FW_DECLARE_AUTO(CViewTesterFrame)
  35.  
  36.     CViewTesterFrame(Environment* ev, 
  37.                     ODFrame* odFrame, 
  38.                     FW_CPresentation* presentation, 
  39.                     FW_CPart* part);
  40.     virtual ~CViewTesterFrame();
  41.  
  42. //    Inherited API
  43. public:
  44.     virtual void         Draw(Environment* ev, ODFacet* odFacet, ODShape* invalidShape);
  45.     virtual void         CreateSubViews(Environment* ev);
  46.     
  47. //    Data fields
  48. private:
  49.     FW_CPart*            fPart;
  50.     FW_CIdler*            fIdler;
  51. };
  52.  
  53. #endif
  54.